﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;

namespace WT.Sockert
{
   public class ClientInfo
    {
        private string _clientName;
        private IPAddress _clientIP;
        private int _clientPort;
        private Socket _socketConnection;

        public string ClientName {
            get {
                return _clientName;
            }
            set {
                _clientName = value;
            }

        }
        public IPAddress ClientIP
        {
            get
            {
                return _clientIP;
            }

            set
            {
                _clientIP = value;
            }
        }

        public int ClientPort
        {
            get
            {
                return _clientPort;
            }

            set
            {
                _clientPort = value;
            }
        }

        public Socket SocketConnection
        {
            get
            {
                return _socketConnection;
            }

            set
            {
                _socketConnection = value;
            }
        }
    }
}
